package day21320;

import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.image.BufferedImage;
import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
        /*JFrame win = new JFrame("飞机大战");
        //设置窗口大小
        win.setSize(200,400);
        //设置画板对象
        JPanel pen = new JPanel();
        //将画板对象放入窗口
        win.add(pen);
        //窗口可视化
        win.setVisible(true);
        //设置窗口在关闭时关闭程序
        win.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);*/


    }
}
